package com.bf.electroplating.mapper;

import com.bf.electroplating.pojo.entity.ComWorkshop;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author 15451
* @description 针对表【com_workshop(车间信息表)】的数据库操作Mapper
* @createDate 2025-05-09 11:11:32
* @Entity com.bf.electroplating.pojo.entity.ComWorkshop
*/
public interface ComWorkshopMapper extends BaseMapper<ComWorkshop> {

    /**
     * 查询车间列表，按是否有关联镀槽排序
     * @param workshopName 车间名称
     * @param workshopNumber 车间编号
     * @param companyId 企业ID
     * @return 车间列表
     */
    List<ComWorkshop> selectWorkshopListWithTankSort(@Param("workshopName") String workshopName,
                                                     @Param("workshopNumber") String workshopNumber,
                                                     @Param("companyId") String companyId);
}




